<template>
  <fieldset>
    <legend>主页</legend>
    <h1>用户名：{{userInfo.nickname}}</h1>
  </fieldset>
</template>


<script>
import { mapState } from "vuex";
export default {
  computed: {
    ...mapState("users", ["userInfo"]),
  },
};
</script>